$.ajaxPrefilter(function (option) {
  // console.log(option.url);
  option.url = "http://api-breakingnews-web.itheima.net" + option.url;

  if (option.url.indexOf('/my/') !== -1) {
    option.headers ={
        Authorization:localStorage.getItem('token') || ''
    }
   
  }
});
